package com.cxyzy.demo

import com.cxyzy.demo.db.AppDatabase
import com.cxyzy.demo.db.repository.UserRepository

object InjectionUtil {
    private val dbInstance = AppDatabase.getInstance(App.context)

    fun getUserRepository(): UserRepository = UserRepository.getInstance(dbInstance.userDao())

}